package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Exercise;

import java.util.List;

public interface ExerciseDao {

    void add(Exercise exercise);

    void update(Exercise exercise);

    long findExerciseName(String id);

    Page<Exercise> findBySeach(String queryString);

    List<Exercise> findAll();


}
